<?php
require_once 'environment.php';
// This is the configuration for yiic console application.
return array(
	'basePath' 	=> dirname(__FILE__) . DIRECTORY_SEPARATOR . '..',
	'name'=>'My Console Application',

	 // autoloading model and component classes
	'import' => array(
		'application.includes.core.*',
		'application.includes.utils.*',
		'application.helpers.*',
		'application.models.*',
		'application.models.base.*',
		'application.components.*',
	),

	 // application components
	'components' => array(
		'db' => array(
			'class' 			=> 'CDbConnection',
			'connectionString' 	=> DB_CONNECTION,
			'emulatePrepare' 	=> true,
			'username' 			=> DB_USER,
			'password' 			=> DB_PWD,
			'charset' 			=> DB_CHARSET,
			'tablePrefix' 		=> DB_TABLE_PREFIX,
			'enableProfiling'	=> true,
			'enableParamLogging'=> true,
		),
		'Smtpmail'=>array(
            'class'=>'application.extensions.smtpmail.PHPMailer',
            'Host'=>"smtp.gmail.com",
            'Username'=>'manage.khuyentaiclub@gmail.com',
            'Password'=>'123456lt.',
            'Mailer'=>'smtp',
            'Port'=>587,
            'SMTPAuth'=>true,
            'SMTPSecure' => 'tls',
        ),
	),
	'params'=>array(
			// this is used in contact page
			'adminEmail'=>'manage.khuyentaiclub@gmail.com',
	),

);
?>